import http from '../index'

const api = '/erp/inbound'

export function get(params) {
  return http.get(api, {
    params
  })
}

export function create(data) {
    return http.post(api, data)
  }

export function goods(goods_id, params) {
  return http.get(api + '/goods/' + goods_id, {
    params
  })
}